package com.shuai.api_platform.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shuai.api_platform.model.dto.CastsModel;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class WeatherVO {
    private String province;
    private String city;
    private String adcode;
    private String weather;
    private String temperature;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date reporttime;
    private List<CastsModel> casts; // 预测天气
}
